package com.project.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.common.annotation.Excel;
import com.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 项目合作单位对象 biz_project_cooperation_unit
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BizProjectCooperationUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 负责人 */
    @Excel(name = "负责人")
    private String chargerName;

    /** 合同金额（万元） */
    @Excel(name = "合同金额", readConverterExp = "万元")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal contractFee = new BigDecimal(0);

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String unitType;

    /** 序号 */
    @Excel(name = "序号")
    private Long orderId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankNum;

    /** ---------------主表要新增的一些字段 -----------------**/


}
